static const int statePlaneZoneMapping[] = {
    /* old zone code, prj code, new zone code */
    3126, -1,    101,  3151, -1, 102,  3176, -1,    202,  3201, -1,   203,
    3226, -1,    301,  3251, -1, 302,  3326, -1,    403,  3351, -1,   404,
    3376, 26945, 405,  3426, -1, 407,  3451, -1,    501,  3476, -1,   502,
    3526, -1,    600,  3551, -1, 700,  3576, -1,    903,  3626, -1,   902,
    3651, -1,    1001, 3676, -1, 1002, 3726, -1,    1102, 3751, -1,   1103,
    3776, -1,    1201, 3801, -1, 1202, 3826, -1,    1301, 3851, -1,   1302,
    3876, -1,    1401, 3926, -1, 1501, 3951, -1,    1502, 3976, -1,   1601,
    4026, -1,    1701, 6426, -1, 1703, 4076, -1,    1801, 4101, -1,   1802,
    4126, -1,    1900, 4151, -1, 2001, 4176, -1,    2002, 4226, -1,   2102,
    4251, -1,    2103, 6351, -1, 2111, 6376, -1,    2112, 6401, -1,   2113,
    4276, -1,    2201, 4326, -1, 2203, 4351, -1,    2301, 4376, -1,   2302,
    4400, 32045, 3400, 4401, -1, 2401, 4426, -1,    2402, 4451, -1,   2403,
    4476, 32100, 2500, 4476, -1, 2501, 4701, 32111, 2900, 4801, 2260, 3101,
    4801, 32115, 3101, 4526, -1, 2503, 4551, -1,    2601, 4576, -1,   2602,
    4626, -1,    2702, 4651, -1, 2703, 4676, -1,    2800, 4726, -1,   3001,
    4751, -1,    3002, 4776, -1, 3003, 4826, -1,    3102, 4851, -1,   3103,
    4876, -1,    3104, 4926, -1, 3301, 4951, -1,    3302, 4976, -1,   3401,
    5026, -1,    3501, 5051, -1, 3502, 5076, -1,    3601, 5126, -1,   3701,
    5151, -1,    3702, 5176, -1, 3800, 5226, -1,    3902, 5251, -1,   4001,
    5276, -1,    4002, 5301, -1, 4100, 5326, -1,    4201, 5351, -1,   4202,
    5376, -1,    4203, 5401, -1, 4204, 5426, -1,    4205, 5451, -1,   4301,
    5476, -1,    4302, 5501, -1, 4303, 5526, -1,    4400, 5551, -1,   4501,
    5576, -1,    4502, 5601, -1, 4601, 5626, -1,    4602, 5651, -1,   4701,
    5676, -1,    4702, 5701, -1, 4801, 5726, -1,    4802, 5751, -1,   4803,
    5776, -1,    4901, 5801, -1, 4902, 5826, -1,    4903, 5851, -1,   4904,
    6101, -1,    5001, 6126, -1, 5002, 6151, -1,    5003, 6176, -1,   5004,
    6201, -1,    5005, 6226, -1, 5006, 6251, -1,    5007, 6276, -1,   5008,
    6301, -1,    5009, 6326, -1, 5010, 5876, -1,    5101, 5901, -1,   5102,
    5926, -1,    5103, 5951, -1, 5104, 5976, -1,    5105, 6001, -1,   5201,
    6026, -1,    5200, 6076, -1, 5200, 6051, -1,    5202, 0,    0,    0};

/* This is not a complete mapping. Need to add more. */
static const int statePlanePcsCodeToZoneCode[] = {
    /* pcs code, state plane prj str index*/
    2222, 2016, 2223, 2026, 2224, 2036, 2225, 4012, 2226, 4022, 2227, 4032,
    2228, 4042, 2229, 4052, 2230, 4062, 2231, 5012, 2232, 5022, 2233, 5032,
    2234, 6002, 2235, 7002, 2236, 9012, 2237, 9022, 2238, 9032, 2239, 10012,
    2240, 10022, 2241, 11012, 2242, 11022, 2243, 11032, 2251, 21116, 2252,
    21126, 2253, 21136, 2256, 25006, 2265, 33016, 2266, 33026, 2965, 13012,
    2966, 13022, 2246, 16012, 2247, 16022, 2248, 19002, 2249, 20012, 2250,
    20022, 2254, 23012, 2255, 23022, 2257, 30012, 2258, 30022, 2259, 30032,
    2260, 31012, 2261, 31022, 2262, 31032, 2263, 31042, 2264, 32002, 2267,
    35012, 2268, 35022, 2269, 36016, 2270, 36026, 2271, 37012, 2272, 37022,
    2273, 39006, 2274, 41002, 2275, 42012, 2276, 42022, 2277, 42032, 2278,
    42042, 2279, 42052, 2280, 43016, 2281, 43026, 2282, 43036, 2283, 45012,
    2284, 45022, 2285, 46012, 2286, 46022, 2287, 48012, 2288, 48022, 2289,
    48032, 2867, 2015, 2868, 2025, 2869, 2035, 2896, 21115, 2897, 21125, 2898,
    21135, 2901, 25005, 2909, 33015, 2910, 33025, 2913, 36015, 2914, 36025,
    2921, 43015, 2922, 43025, 2923, 43035, 2870, 4013, 2871, 4023, 2872, 4033,
    2873, 4043, 2874, 4053, 2875, 4063, 2876, 5013, 2877, 5023, 2878, 5033,
    2879, 6003, 2880, 7003, 2881, 9013, 2882, 9023, 2883, 9033, 2884, 10013,
    2885, 10023, 2886, 11013, 2887, 11023, 2888, 11033, 2967, 13013, 2968,
    13023, 2891, 16013, 2892, 16023, 2893, 19003, 2894, 20013, 2895, 20023,
    2899, 23013, 2900, 23023, 2902, 30013, 2903, 30023, 2904, 30033, 2905,
    31013, 2906, 31023, 2907, 31033, 2908, 31043, 2911, 35013, 2912, 35023,
    2915, 41003, 2916, 42013, 2917, 42023, 2918, 42033, 2919, 42043, 2920,
    42053, 2924, 45013, 2925, 45023, 2926, 46013, 2927, 46023, 2928, 48013,
    2929, 48023, 2930, 48033,
    // following are state systems (not complete)
    2964, 102965, 2991, 102991, 2992, 102992, 2993, 102993, 2994, 102994,
    // following are NAD 1983 SPCS Zone
    26929, 1011, 26930, 1021, 26931, 50011, 26932, 50021, 26933, 50031, 26934,
    50041, 26935, 50051, 26936, 50061, 26937, 50071, 26938, 50081, 26939, 50091,
    26940, 50101, 26948, 2011, 26949, 2021, 26950, 2031, 26951, 3011, 26952,
    3021, 26941, 4011, 26942, 4021, 26943, 4031, 26944, 4041, 26945, 4051,
    26946, 4061, 26953, 5011, 26954, 5021, 26955, 5031, 26956, 6001, 26957,
    7001, 26958, 9011, 26959, 9021, 26960, 9031, 26966, 10011, 26967, 10021,
    26961, 51011, 26962, 51021, 26963, 51031, 26964, 51041, 26965, 51051, 26968,
    11011, 26969, 11021, 26970, 11031, 26971, 12011, 26972, 12021, 26973, 13011,
    26974, 13021, 26975, 14011, 26976, 14021, 26977, 15011, 26978, 15021, 26979,
    16011, 26980, 16021, 26981, 17011, 26982, 17021, 26983, 18011, 26984, 18021,
    26985, 19001, 26986, 20011, 26987, 20021, 26988, 21111, 26989, 21121, 26990,
    21131, 26991, 22011, 26992, 22021, 26993, 22031, 26994, 23011, 26995, 23021,
    26996, 24011, 26997, 24021, 26998, 24031, 32100, 25001, 32104, 26001, 32107,
    27011, 32108, 27021, 32109, 27031, 32110, 28001, 32111, 29001, 32112, 30011,
    32113, 30021, 32114, 30031, 32115, 31011, 32116, 31021, 32117, 31031, 32118,
    31041, 32119, 32001, 32120, 33011, 32121, 33021, 32122, 34011, 32123, 34021,
    32124, 35011, 32125, 35021, 32126, 36011, 32127, 36021, 32128, 37011, 32129,
    37021, 32130, 38001, 32133, 39001, 32134, 40011, 32135, 40021, 32136, 41001,
    32137, 42011, 32138, 42021, 32139, 42031, 32140, 42041, 32141, 42051, 32142,
    43011, 32143, 43021, 32144, 43031, 32145, 44001, 32146, 45011, 32147, 45021,
    32148, 46011, 32149, 46021, 32150, 47011, 32151, 47021, 32152, 48011, 32153,
    48021, 32154, 48031, 32155, 49011, 32156, 49021, 32157, 49031, 32158, 49041,
    32161, 52000, 65161, 54001, 0, 0};
